<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core">
    
     <ui:composition template="./WEB-INF/Templates/templateProjeto.xhtml">
            <ui:define name="tituloH1">
                SISDC - LOGIN
            </ui:define>
            <ui:define name="pagLinda">
                <h1>Informe seus dados para realizar o login</h1>
                <h:messages layout="list" style="color: darkred"/>
                <h:form>
                    <h:panelGrid columns="2">
                    Login
                    <h:inputText value="#{managedLogin.user}" label="Login">
                        <f:validateLength maximum="10" minimum="4"/>
                    </h:inputText>
                    Senha
                    <h:inputSecret value="#{managedLogin.senha}" label="Senha">
                        <f:validateLength maximum="10" minimum="5"/>
                    </h:inputSecret>
                    </h:panelGrid>
                    <h:commandButton value="Enviar" action="#{managedLogin.login}" />
                </h:form>
            </ui:define>
            
        <!--</ui:define>-->
    </ui:composition>

</html>

